Hi Miaolin
Yes " this issue only occur when the call was routed out from 2nd port "
I did change that to Elastix I have the same problem both lines off the hook I can not call out or nobody can call in, it is busy on both line, on Elastix I have to do Hardware Detection to hang up the lines, I think something wrong with the A400P22 card ! or what else I can do please let me know, I have customer interest with the system but I can not able to show it to them. !
I think it should not be the card issue, simplest way is try to use SIP call to run same process and see if it can be hangup or not.
to change asterisk version, you better download and re-compile asterisk yourself, not simply use elastix to replace trixbox or other system.
another question, if you use a simple extension to pick up and playback a big voice file, at this time, caller hangup will cause system detect and hangup the call?
I have similar problem. I use Elastix 1.6. I have two FXO and 1FXS. In a DISA call or Calling card application, I use my cell phone to dial the Asterisk (leg 1), then, dial out to a different phone number(leg2), When I hang up my cellphone, the Asterisk does not detect the line is drop.
If before I hangup, I press **, which will hang up leg 2, allow me to dial another number, or I just hang up. In this case, the line is released.